package com.way.adapter;

/**
 * @author 魏彪
 */
public class PowerAdapter extends AC220 implements Dc5 {
    @Override
    public int outPut5V() {
        int adapterInput = outPutAc220V();
        int adapterOutput = adapterInput / 44;
        System.out.println("使用Adapter输入AC" + adapterInput + "V，输出DC" + adapterOutput + "V");
        return adapterOutput;
    }
}
